DrawType := {
  LINE: 0x1,
  RECT: 0x2,
  RECT_SOLID: 0x4
}

DrawState := {
  START: 0x1,
  DRAWING: 0x2,
  END: 0x4
}